export function isPhoneNumber(value) {
  const reg = /^1[345789]\d{9}$/;
  return reg.test(value);
}

export function isAccount(value) {
  const reg = /^[a-zA-Z0-9_-]{4,18}$/;
  return reg.test(value);
}

export function isMoney(value) {
  const reg = /((^[1-9]\d*)|^0)(\.\d{0,2}){0,1}$/;
  return reg.test(value);
}

export function isNumber(value) {
  const reg = /^[1-9]\d*$/;
  return reg.test(value);
}
